.class public Lcom/estrongs/android/pop/app/editor/g;
.super Ljava/lang/Object;
.source "TerminatorHelper.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/app/editor/g$d;
    }
.end annotation


# instance fields
.field private a:Landroid/content/Context;

.field private b:Lcom/estrongs/android/pop/app/editor/g$d;

.field private c:Lcom/estrongs/android/ui/dialog/q;

.field private d:I

.field private e:I


# direct methods
.method public constructor <init>(Landroid/content/Context;ILcom/estrongs/android/pop/app/editor/g$d;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lcom/estrongs/android/pop/app/editor/g;->c:Lcom/estrongs/android/ui/dialog/q;

    const/4 v0, 0x0

    .line 3
    iput v0, p0, Lcom/estrongs/android/pop/app/editor/g;->d:I

    .line 4
    iput v0, p0, Lcom/estrongs/android/pop/app/editor/g;->e:I

    .line 5
    iput-object p1, p0, Lcom/estrongs/android/pop/app/editor/g;->a:Landroid/content/Context;

    .line 6
    iput-object p3, p0, Lcom/estrongs/android/pop/app/editor/g;->b:Lcom/estrongs/android/pop/app/editor/g$d;

    .line 7
    iput p2, p0, Lcom/estrongs/android/pop/app/editor/g;->d:I

    .line 8
    iput p2, p0, Lcom/estrongs/android/pop/app/editor/g;->e:I

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/editor/g;)I
    .locals 0

    .line 2
    iget p0, p0, Lcom/estrongs/android/pop/app/editor/g;->d:I

    return p0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/editor/g;I)I
    .locals 0

    .line 1
    iput p1, p0, Lcom/estrongs/android/pop/app/editor/g;->e:I

    return p1
.end method

.method public static a([C)I
    .locals 6

    const/4 v0, 0x1

    if-nez p0, :cond_0

    return v0

    :cond_0
    const/4 v1, 0x0

    const/4 v2, 0x0

    .line 12
    :goto_0
    array-length v3, p0

    if-ge v2, v3, :cond_4

    .line 13
    aget-char v3, p0, v2

    const/16 v4, 0xd

    const/16 v5, 0xa

    if-ne v3, v4, :cond_1

    add-int/lit8 v3, v2, 0x1

    aget-char v3, p0, v3

    if-ne v3, v5, :cond_1

    const/4 v0, 0x0

    goto :goto_1

    .line 14
    :cond_1
    aget-char v3, p0, v2

    if-ne v3, v4, :cond_2

    add-int/lit8 v3, v2, 0x1

    aget-char v3, p0, v3

    if-eq v3, v5, :cond_2

    const/4 v0, 0x2

    goto :goto_1

    .line 15
    :cond_2
    aget-char v3, p0, v2

    if-ne v3, v5, :cond_3

    goto :goto_1

    :cond_3
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_4
    :goto_1
    return v0
.end method

.method public static a(I)Ljava/lang/String;
    .locals 1

    if-nez p0, :cond_0

    const-string p0, "\r\n"

    return-object p0

    :cond_0
    const/4 v0, 0x2

    if-ne p0, v0, :cond_1

    const-string p0, "\r"

    return-object p0

    :cond_1
    const-string p0, "\n"

    return-object p0
.end method

.method static synthetic b(Lcom/estrongs/android/pop/app/editor/g;I)I
    .locals 0

    .line 1
    iput p1, p0, Lcom/estrongs/android/pop/app/editor/g;->d:I

    return p1
.end method

.method static synthetic b(Lcom/estrongs/android/pop/app/editor/g;)Lcom/estrongs/android/pop/app/editor/g$d;
    .locals 0

    .line 2
    iget-object p0, p0, Lcom/estrongs/android/pop/app/editor/g;->b:Lcom/estrongs/android/pop/app/editor/g$d;

    return-object p0
.end method


# virtual methods
.method public a()V
    .locals 4

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/editor/g;->c:Lcom/estrongs/android/ui/dialog/q;

    if-nez v0, :cond_0

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/editor/g;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f030008

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v0

    .line 5
    new-instance v1, Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/editor/g;->a:Landroid/content/Context;

    invoke-direct {v1, v2}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v2, 0x7f1105ee

    .line 6
    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    iget v2, p0, Lcom/estrongs/android/pop/app/editor/g;->e:I

    new-instance v3, Lcom/estrongs/android/pop/app/editor/g$c;

    invoke-direct {v3, p0}, Lcom/estrongs/android/pop/app/editor/g$c;-><init>(Lcom/estrongs/android/pop/app/editor/g;)V

    .line 7
    invoke-virtual {v1, v0, v2, v3}, Lcom/estrongs/android/ui/dialog/q$n;->a([Ljava/lang/CharSequence;ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    const v0, 0x7f11029e

    new-instance v2, Lcom/estrongs/android/pop/app/editor/g$b;

    invoke-direct {v2, p0}, Lcom/estrongs/android/pop/app/editor/g$b;-><init>(Lcom/estrongs/android/pop/app/editor/g;)V

    .line 8
    invoke-virtual {v1, v0, v2}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    const v0, 0x7f110299

    new-instance v2, Lcom/estrongs/android/pop/app/editor/g$a;

    invoke-direct {v2, p0}, Lcom/estrongs/android/pop/app/editor/g$a;-><init>(Lcom/estrongs/android/pop/app/editor/g;)V

    .line 9
    invoke-virtual {v1, v0, v2}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 10
    invoke-virtual {v1}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/editor/g;->c:Lcom/estrongs/android/ui/dialog/q;

    return-void

    .line 11
    :cond_0
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q;->show()V

    return-void
.end method
